﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using $prjsn$.Entity;

using ProjectBase.Core;

using $prjsn$.Entity.Services;

namespace $safeprojectname$.Tools.Import.Excel
{
    [CLSCompliant(false)]
    public class SpecialLang : Lang
    {
        #region members
        IList<string> _names;
        IList<int> _numbers;
        IList<decimal> _decimals;
        #endregion members

        public virtual Address Address { get; set; }

        public virtual DateTime Created { get; set; }
        public virtual DateTime? Updated { get; set; }

        public virtual double DoubleValue { get; set; }
        public virtual decimal DecimalValue { get; set; }
        public virtual float FloatValue { get; set; }
        public virtual int IntValue { get; set; }

        public virtual byte ByteValue { get; set; }
        public virtual short ShortValue { get; set; }
        public virtual ushort UShortValue { get; set; }
        public virtual long LongValue { get; set; }

        public virtual User User { get; set; }

        public virtual IList<string> Names
        {
            get { return _names ?? (_names = new List<string>()); }
            set { _names = value; }
        }

        public virtual IList<int> BNumbers
        {
            get { return _numbers ?? (_numbers = new List<int>()); }
            set { _numbers = value; }
        }
        public virtual IList<decimal> ANumbers
        {
            get { return _decimals ?? (_decimals = new List<decimal>()); }
            set { _decimals = value; }
        }
    }
}
